package com.community.system.service;

import java.util.List;
import com.community.system.domain.Patrol;

/**
 * patrolService接口
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public interface IPatrolService 
{
    /**
     * 查询patrol
     * 
     * @param patrolId patrol主键
     * @return patrol
     */
    public Patrol selectPatrolByPatrolId(Long patrolId);

    /**
     * 查询patrol列表
     * 
     * @param patrol patrol
     * @return patrol集合
     */
    public List<Patrol> selectPatrolList(Patrol patrol);

    /**
     * 新增patrol
     * 
     * @param patrol patrol
     * @return 结果
     */
    public int insertPatrol(Patrol patrol);

    /**
     * 修改patrol
     * 
     * @param patrol patrol
     * @return 结果
     */
    public int updatePatrol(Patrol patrol);

    /**
     * 批量删除patrol
     * 
     * @param patrolIds 需要删除的patrol主键集合
     * @return 结果
     */
    public int deletePatrolByPatrolIds(Long[] patrolIds);

    /**
     * 删除patrol信息
     * 
     * @param patrolId patrol主键
     * @return 结果
     */
    public int deletePatrolByPatrolId(Long patrolId);
}
